body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #141414;
  color: #fff;
}

.navbar {
  display: flex;
  justify-content: space-between;
  padding: 10px 50px;
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

.navbar .logo {
  font-size: 24px;
  font-weight: bold;
  font-family: sans-serif;
  color: #e63900;
  font-style: oblique;
}

#button {
  height: 30px;
  border-radius: 5px;
}
#lang{
  border-radius: 5px;
}

#startbutton {
  height: 30px;
  border-radius: 5px;
  width: 100px;
}

#startbutton:hover {
  background-color: #e63900;
}

.navbar ul {
  list-style-type: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.navbar ul li {
  margin-right: 60px;
}

#lang {
  margin-right: 20px;
  height: 30px;
  width: 70px;
  text-align: start;
}

.navbar ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

p {
  font-weight: bold;
  color: #fefefe;
}

.hero {
  height: 100vh;
  background: url(../assets/index.jpeg);
  opacity: 1;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-align: center;
}

.hero h1 {
  font-size: 60px;
  max-width: 800px;
  color: #ffff;
}

.hero p {
  font-size: 22px;
  margin-top: 10px;
}

.content {
  padding: 50px;
}

.movie-list {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
}

.movie-item {
  width: 250px;
  height: 350px;
}

.movie-item img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

.footer {
  background-color: #000;
  padding: 50px;
  text-align: center;
  color: #777;
}

/* Intro Section Styling */
#intro {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #141414, #1a1a1a);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  overflow: hidden;
  color: #fff;
}

.logo-container {
  text-align: center;
  position: relative;
  right: 240px;
  top: -100px;
}

.logo-container .logo {
  margin-top: 20px;
  margin-left: 320px;
  width: 450px;
  height: 600px;
  opacity: 0;
  transform: scale(0.5);
  animation: fadeScale 0.9s ease-out 4s forwards;
}

.logo-container .site-name {
  font-size: 3rem;
  font-weight: bold;
  color: #e63900;
  margin-top: 100px ;
  white-space: nowrap;
  display: inline-block;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logo-container .welcome-message {
  font-size: 1.5rem;
  color: #ffffff;
  opacity: 0;
  position: absolute;
  right: 0%;
  transform: scale(0.8);
  animation: fadeZoom 0.1s ease-out 0.1s forwards;
}




@keyframes fadeOutBackground {
  0% {
    background: #141414;
  }
  100% {
    background: rgba(20, 20, 20, 0); /* Fully transparent */
  }
}

#intro {
  animation: fadeOutBackground 2s ease-in-out 5.6s forwards;
}

/* Move the site name to the top-left */
@keyframes moveToTopLeft {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50vw, -70vh) scale(0.5);
    opacity: 0;
  }
}

/* Animations */

/* Scale and fade in logo */
@keyframes fadeScale {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Slide in each letter */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Fade in and zoom effect for welcome message */
@keyframes fadeZoom {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Rotating circular animation for logo */
@keyframes circleRotate {
  0% {
    transform: scale(0.5) rotate(0deg);
    opacity: 0;
  }

  100% {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }
}

.logo-container .logo {
  animation: circleRotate 1s ease-out forwards;
}



/* Smooth fade-in for welcome message */
@keyframes fadeZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.logo-container .welcome-message {
  animation: fadeZoomIn 1s ease-out 2.5s forwards;
}

/* Fade out background to transparent */
@keyframes fadeOutBackground {
  0% {
    background: #141414;
  }
  100% {
    background: rgba(20, 20, 20, 0);
  }
}


@media (max-width:600px){

  *{
    padding: 0;
    margin: 0;
  }
.logo-container{
  position: absolute;
  right: -70px;
}
.welcome-message{
  position: absolute;
  left: 270px;
}
.movie-list{
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding-left: 27px;
  padding-top: 20px;
  padding-bottom: 20px;

}
.content{
  padding: 0;
}
.movie-item{
  height: 200px;
  width: 140px;
}
.logo{
  position: relative;
  left: -40px;
}
#button{
  height: 30px;
  width: 50px;
  border: none;
  background-color:#fefefe;
}
#startbutton{
  border: none;
  margin-top: 20px;
}
h2{
  margin-top: 10px;
}
}